package global

type StudiesInfo struct {
	StudiesId           string `gorose:"studies_id" json:"studies_id"`
	StudyDatetime       int64  `gorose:"study_datetime" json:"study_datetime"`
	PatientId           string `gorose:"patient_id" json:"patient_id"`
	PatientName         string `gorose:"patient_name" json:"patient_name"`
	IncludeSeries       string `gorose:"include_series" json:"include_series"`
	RecordDatetime      int64  `gorose:"record_datetime" json:"record_datetime"`
	UpdateDatetime      int64  `gorose:"update_datetime" json:"update_datetime"`
	DbHidden            int    `gorose:"db_hidden" json:"db_hidden"`
	DbDelete            int    `gorose:"db_delete" json:"db_delete"`
	OwnerGroups         string `gorose:"owner_groups" json:"owner_groups"`
	LabelUpdateDatetime int64  `gorose:"label_update_datetime" json:"label_update_datetime"`
	LabelUidAuthor      int    `gorose:"label_uid_author" json:"label_uid_author"`
	LabelUidReview      int    `gorose:"label_uid_review" json:"label_uid_review"`
	LabelHisInfo        string `gorose:"label_his_info" json:"label_his_info"`
	LabelProgress       int    `gorose:"label_progress" json:"label_progress"`
	LabelMemo           string `gorose:"label_memo" json:"label_memo"`
	LabelInfoAttend     string `gorose:"label_info_attend" json:"label_info_attend"`
}

type SeriesInfo struct {
	SeriesId            string `gorose:"series_id" json:"series_id"`
	SeriesNumber        int    `gorose:"series_number" json:"series_number"`
	StudiesId           string `gorose:"studies_id" json:"studies_id"`
	PatientId           string `gorose:"patient_id" json:"patient_id"`
	PatientName         string `gorose:"patient_name" json:"patient_name"`
	URL                 string `gorose:"url" json:"url"`
	IncludeInstances    string `gorose:"include_instances" json:"include_instances"`
	StudyDatetime       int64  `gorose:"study_datetime" json:"study_datetime"`
	RecordDatetime      int64  `gorose:"record_datetime" json:"record_datetime"`
	UpdateDatetime      int64  `gorose:"update_datetime" json:"update_datetime"`
	DbHidden            int    `gorose:"db_hidden" json:"db_hidden"`
	DbDelete            int    `gorose:"db_delete" json:"db_delete"`
	LabelMemo           string `gorose:"label_memo" json:"label_memo"`
	LabelInfoAttend     string `gorose:"label_info_attend" json:"label_info_attend"`
	LabelUpdateDatetime int64  `gorose:"label_update_datetime" json:"label_update_datetime"`
}

type InstanceInfo struct {
	InstanceId          string  `gorose:"instance_id" json:"instance_id"`
	InstanceNumber      int     `gorose:"instance_number" json:"instance_number"`
	SeriesId            string  `gorose:"series_id" json:"series_id"`
	StudiesId           string  `gorose:"studies_id" json:"studies_id"`
	URL                 string  `gorose:"url" json:"url"`
	ContentDatetime     int64   `gorose:"content_datetime" json:"content_datetime"`
	RecordDatetime      int64   `gorose:"record_datetime" json:"record_datetime"`
	MediaWidth          int     `gorose:"media_width" json:"media_width"`
	MediaHeight         int     `gorose:"media_height" json:"media_height"`
	Frames              int     `gorose:"frames" json:"frames"`
	Duration            float64 `gorose:"duration" json:"duration"`
	MediaType           string  `gorose:"media_type" json:"media_type"`
	CacheLocalPath      string  `gorose:"cache_local_path" json:"cache_local_path"`
	DbHidden            int     `gorose:"db_hidden" json:"db_hidden"`
	DbDelete            int     `gorose:"db_delete" json:"db_delete"`
	LabelUpdateDatetime int64   `gorose:"label_update_datetime" json:"label_update_datetime"`
	LabelView           string  `gorose:"label_view" json:"label_view"`
	LabelDiagnose       string  `gorose:"label_diagnose" json:"label_diagnose"`
	LabelInterfere      string  `gorose:"label_interfere" json:"label_interfere"`
	LabelMemo           string  `gorose:"label_memo" json:"label_memo"`
	LabelInfoAttend     string  `gorose:"label_info_attend" json:"label_info_attend"`
}
